package com.haois.mp.database.module.common.daomain;


import java.util.Map;

/**
 * Created by RuiHaoZ on 2018/2/1 0:49
 */
public class TempData {

    private String id;
    private String title;
    private String subTit;
    private String sender;
    private String receiver;
    private String remark;
    private String time;
    private String content;
    private String orgName;

    private Integer msgId;

    public TempData() {
    }

    public TempData(Map<String, String> map) {
        if (map == null) {
            return;
        }
        this.id = map.get("id");
        this.title = map.get("title");
        this.subTit = map.get("subTit");
        this.sender = map.get("sender");
        this.receiver = map.get("receiver");
        this.remark = map.get("remark");
        this.time = map.get("time");
        this.content = map.get("content");
        this.orgName = map.get("orgName");
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getMsgId() {
        return msgId;
    }

    public void setMsgId(Integer msgId) {
        this.msgId = msgId;
    }


    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubTit() {
        return subTit;
    }

    public void setSubTit(String subTit) {
        this.subTit = subTit;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }
}
